(function(){
    var s = "liUguanGhVI";
    function doSomeThing(){
        console.log(s.toUpperCase());
    }
    function doOtherThing(){
        console.log(s.toLowerCase());
    }
    window.tool = {
        up:doSomeThing,
        low:doOtherThing
    };
})()